-
Notifications
You must be signed in to change notification settings - Fork 0
/
Year 64 - Binary Counter
109 lines (108 loc) · 1.5 KB
/
Year 64 - Binary Counter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
-- 7 Billion Humans (2214M) --
-- 64: Binary Counter by @commonnickname --
mem4 = set se
if mem4 == nothing:
step sw
pickup n
a:
drop
pickup c
jump a
else:
if mem4 == worker:
step s
step se
step s
step n
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
step s
step n
step s
step ne
step sw
step ne
step sw
step ne
step sw
step ne
step sw
step ne
step sw
step n
step s
else:
step s
if e == nothing:
pickup c
step s
drop
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
b:
pickup c
mem1 = set c
drop
mem1 = set c
jump b
else:
if w == worker:
mem1 = set myitem
step s
step se
step se
step ne
step sw
mem1 = set myitem
mem1 = set myitem
step ne
step sw
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
mem1 = set myitem
step ne
step sw
mem1 = set myitem
mem1 = set myitem
step ne
step sw
mem1 = set myitem
mem1 = set myitem
step ne
step sw
mem1 = set myitem
mem1 = set myitem
step ne
step w
else:
pickup e
step se
mem4 = set myitem
drop
step w
step nw
step s
step e
mem1 = set myitem
pickup e
drop
step e
pickup nw
mem1 = set c
drop
endif
endif
endif
endif